{#
/**
 * List radio Html : item 'no answer' row
 *
 * @var $name   $ia[1]
 * @var $check_ans
 * @var $checkconditionFunction
 */
#}

{% set button_size_class = (question_template_attribute.button_size == 'default' or question_template_attribute.button_size is empty) ? '' : "btn-"~question_template_attribute.button_size %}
{% set max_buttons_row = (question_template_attribute.max_buttons_row == 'default' or question_template_attribute.max_buttons_row is empty) ? 'col-md-2' : question_template_attribute.max_buttons_row %}

<!-- answer_row_noanswer -->
<div class="bootstrap-buttons-div col-12 {{ max_buttons_row }}">
    <div id="javatbd{{ name }}" class="form-check col-12 {% if check_ans!='' %} active {% endif %} col-12">
        <input
            class="btn-check visually-hidden button-item"
            type="radio"
            name="{{ name }}"
            id="answer{{ name }}"
            value="{{ code }}"
            {{ check_ans }}
            />
        <label class="btn btn-primary w-100 {{ button_size_class }}" for="answer{{ name }}">
            <span class="" aria-hidden="true"></span> {{ gT('No answer') }}
        </label>
    </div>
</div>
<!-- endof answer_row_noanswer -->
